package cn03;

//无参和有参的构造方法

public class ma {

    private  String name;
    private  int age;

    public ma(){
        System.out.println("无参");
    }

    public ma(String name,int age){
        this.name =name;
        this.age = age;
        System.out.println("有参");
    }
}
